Part Number Hot Search : 
C74AC 212BJ M64894FP TB62716F LA7857 100S3 ZM4751 PKFC08C
Product Description
Full Text Search
 

To Download DS2761BX-025 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1 of 24 072303 features  lithium-ion (li+) safety circuit - overvoltage protection - overcurrent/short-circuit protection - undervoltage protection  zero volt battery recovery charge  available in two configurations: - internal 25m  sense resistor - external user-selectable sense resistor  current measurement - 12-bit bidirectional measurement - internal sense resistor configuration: 0.625ma lsb and 1.9a dynamic range - external sense resi stor configuration: 15.625  v lsb and 64mv dynamic range  current accumulation: - internal sense resistor: 0.25mahr lsb - external sense resistor: 6.25  vhr lsb  voltage measurement with 4.88mv resolution  temperature measurement using integrated sensor with 0.125  c resolution  system power management and control feature support  32 bytes of lockable eeprom  16 bytes of general-purpose sram  dallas 1-wire ? interface with unique 64-bit device address  low power consumption: - active current: 60  a typ, 90  a max - sleep current: 1  a typ, 2  a max pin configuration pin description cc - charge control output dc - discharge control output dq - data input/output pio - programmable i/o pin pls - battery pack positive terminal input ps - power switch sense input v in - voltage-sense input v dd - power-supply input (2.5v to 5.5v) v ss - device ground sns - sense resistor connection is1 - current-sense input is2 - current-sense input sns probe - do not connect v ss probe - do not connect ds2761 high-precision li+ battery monito r www.maxim-ic.com cc v in v dd pio v ss v ss v ss ps is1 ds2761 16-pin tssop package is2 sns sns 1 2 2 3 2 1 4 5 6 7 8 16 15 14 13 12 11 10 9 sns dq pls dc 1-wire is a registered trademark of dallas semiconductor. ds2761 flip-chip packaging* top view pls dc dq cc is2 vin is1 vdd pio ps sns vss 1 2 3 4 a b c d e f sns probe vss probe * mechanical drawing for the 16-pin tssop and ds2761 flip-chip package can be found at: http://pdfserv.maxim-ic.com/arpdf/packages/16tssop.pdf http://pdfserv.maxim-ic.com/arpdf/packages/chips/2761x.pdf
ds2761 2 of 24 ordering information part marking description ds2761ae d2761ea tssop, external sense resistor, 4.275v v ov ds2761be d2761eb tssop, external sense resistor, 4.35v v ov ds2761ae/t&r d2761ea ds2761ae on tape-and-reel ds2761be/t&r d2761eb ds2761be on tape-and-reel ds2761ae-025 2761a25 tssop, 25m  sense resistor, 4.275v v ov ds2761be-025 2761b25 tssop, 25m  sense resistor, 4.35v v ov ds2761ae-025/t&r 2761a25 ds2761ae-025 in tape-and-reel ds2761be-025/t&r 2761b25 ds2761be-025 in tape-and-reel ds2761ax-025/t&r ds2761ar flip-chip, 25m  sense resistor, tape-and-reel, 4.275v v ov DS2761BX-025/t&r ds2761br flip-chip, 25m  sense resistor, tape-and-reel, 4.35v v ov ds2761ax/t&r ds2761a flip-chip, external se nse resistor, tape-and-reel, 4.275v v ov ds2761bx/t&r ds2761b flip-chip, external se nse resistor, tape-and-reel, 4.35v v ov note: additional v ov options are available, contact maxim/dallas semiconductor sales. description the ds2761 high-precision li+ battery monitor is a da ta-acquisition, informati on-storage, and safety- protection device tailored for cost-sensitive battery pack applications. this low-power device integrates precise temperature, voltage, and current measuremen t, nonvolatile (nv) data st orage, and li+ protection into the small footprint of either a tssop package or flip-chip package. the ds2761 is a key component in applications including remaining capacity estima tion, safety monitoring, and battery-specific data storage. through its 1-wire interface, the ds2761 gives the hos t system read/write access to status and control registers, instrumentation registers, and general-pur pose data storage. each device has a unique factory- programmed 64-bit net addre ss that allows it to be individually addressed by the host system, supporting multibattery operation. the ds2761 is capable of performing temperature, voltage, and current measurement to a resolution sufficient to support process monitoring applications such as battery charge control, remaining capacity estimation, and safety monitoring. temperature is meas ured using an on-chip sensor, eliminating the need for a separate thermistor. bidirectional current measurement and accumulation are accomplished using either an internal 25m  sense resistor or an external device . the ds2761 also features a programmable i/o pin that allows the host system to sense and cont rol other electronics in the pack, including switches, vibration motors, speakers, and leds. three types of memory are provided on the ds2761 fo r battery information storage: eeprom, lockable eeprom, and sram. eeprom memory saves important battery data in true nv memory that is unaffected by severe battery depletion, accidental shorts, or esd events. lockable eeprom becomes rom when locked to provide additional security for unchanging battery data. sram provides inexpensive storage for temporary data.
ds2761 3 of 24 figure 1. block diagram 1-wire interface and address thermal sense mux voltage reference adc registers and user memor y 25m  dq chip ground + - lockable eeprom sram temperature voltage current accum. current status / control li-ion protection v in is1 is2 sns is2 is1 v ss cc dc pls ps pio timebase internal sense resistor configuration only i tst i tst i rc v dd v ss pls test current and recovery charge detail
ds2761 4 of 24 table 1. detailed pin description symbol tssop flip chip description cc 1c1 charge protection control output. controls an external p-channel high-side charge protection fet. dc 3b2 discharge protection control output. controls an external p-channel high-side discharge protection fet. dq 7 b4 data input/out. 1-wire data line. open -drain output driver. connect this pin to the data terminal of th e battery pack. pin has an internal 1  a pull-down for sensing disconnection. pio 14 e2 programmable i/o pin. used to control and monitor user-defined external circuitry. open drain to vss. pls 2 b1 battery pack positive terminal input. the ds2761 monitors the pack plus terminal through pls to detect overcurrent and overload conditions, as well as the presence of a charge source. additionally, a charge path to recover a deeply depleted cell is provided from pls to v dd . in sleep mode (with swen = 0), any capacita nce or voltage source connected to pls is discharged internally to v ss through 200  a (nominal) to assure reliable detection of a valid charge s ource. for details of other internal connections to pls and associated conditions see the li+ protection circuitry section. ps 10 e4 power switch sense input. the device wakes up from sleep mode when it senses the closure of a switch to vss on this pin. pin has an internal 1  a pull-up to v dd . vin 16 d1 voltage sense input. the voltage of the li+ cell is monitored via this input pin. this pin has a weak pullup to v dd . v dd 15 e1 power supply input. connect to the positive terminal of the li+ cell through a decoupling network. vss 13,14, 15 f3 device ground. connect directly to the negative terminal of the li+ cell. for the external sense resistor conf iguration, connect the sense resistor between vss and sns. sns 4,5,6 a3 sense resistor connection. connect to the negative terminal of the battery pack. in the internal sense re sistor configuration, the sense resistor is connected between vss and sns. is1 9 d4 current sense input. this pin is internally connected to vss through a 4.7k  resistor. connect a 0.1  f capacitor between is1 and is2 to complete a low-pass input filter. is2 8 c4 current sense input. this pin is internally connected to sns through a 4.7k  resistor. sns probe n/a c2 do not connect. vss probe n/a d2 do not connect.
ds2761 5 of 24 figure 2. application example 1) r sns is present for external sense resistor configurations only. 2) r sns-int is present for internal sense resistor configurations only. cc pls dc sns sns sns dq is2 v in v dd pio v ss v ss v ss ps is1 ds2761 104 102 x 2 104 sns ds2761 v ss is2 is1 4.7k  4.7k  voltage sense pack+ pack- data 150  150  1k  150  1k  1k  1 0 2 bat+ bat- r sns (1) r sns-int (2) r ks r ks ps 4.7k 
ds2761 6 of 24 power modes the ds2761 has two power modes: active and slee p. while in active mode, the ds2761 continually measures current, voltage, and temperature to provide data to the host system and to support current accumulation and li+ safety monitoring. in sleep mode, the ds2761 ceases these activities. the ds2761 enters sleep mode when any of the following conditions occurs:  the pmod bit in the status register has been set to 1 and the dq line is low for longer than 2s (pack disconnection)  the voltage on v in drops below undervoltage threshold v uv for t uvd (cell depletion)  the pack is disabled through the issuance of a swap command (swen bit = 1) the ds2761 returns to active mode wh en any of the following occurs:  the pmod bit has been set to 1 and the swen bit is set to 0 and the dq line is pulled high (pack connection)  the ps pin is pulled low (power switch)  the voltage on pls becomes greater than the voltage on v in (charger connection) with the swen bit set to 0  the pack is enabled through the issuance of a swap command (swen bit = 1) the ds2761 defaults to sleep mode when power is first applied. li+ protection circuitry during active mode, the ds2761 constantly monitors ce ll voltage and current to protect the battery from overcharge (overvoltage), overdischarge (undervolta ge), and excessive charge and discharge currents (overcurrent, short circuit). cond itions and ds2761 responses are descri bed in the sections below and summarized in table 2 and figure 3. table 2. li+ protection conditi ons and ds2761 responses activation condition name threshold delay response release threshold overvoltage v in > v ov t ovd cc high v in < v ce , or v is -2mv undervoltage v in < v uv t uvd cc , dc high, sleep mode v pls > v dd (1) (charger connected) overcurrent, charge v is > v oc (2) t ocd cc , dc high v pls < v dd - v tp (3) overcurrent, discharge v is < -v oc (2) t ocd dc high v pls > v dd - v tp (4) short circuit v sns > v sc t scd dc high v pls > v dd - v tp (4) v is = v is1 - v is2 . logic high = v pls for cc and v dd for dc . all voltages are with respect to v ss . i sns references current delivered from pin sns. 1) if v dd < 2.2v, release is delayed until the recovery charge current (i rc ) passed from pls to v dd charges the battery and allows v dd to exceed 2.2v. 2) for the internal sense resistor configuration, the overcurrent thresholds are expressed in terms of current: i sns > i oc for charge direction and i sns < -i oc for discharge direction 3) with test current i tst flowing from pls to v ss (pulldown on pls) 4) with test current i tst flowing from v dd to pls (pullup on pls) overvoltage. if the cell voltage on v in exceeds the overvoltage threshold, v ov , for a period longer than overvoltage delay, t ovd , the ds2761 shuts off the external charge fet and sets the ov flag in the protection register. when the cell voltage falls below charge enable threshold v ce , the ds2761 turns the
ds2761 7 of 24 charge fet back on (unless another protection c ondition prevents it). discharging remains enabled during overvoltage, and the ds2761 re-enables the charge fet before v in < v ce if a discharge current of -80ma (v is -2mv) or less is detected. undervoltage. if the voltage of the cell drops below undervoltage threshold v uv for a period longer than undervoltage delay t uvd , the ds2761 shuts off the charge and disc harge fets, sets the uv flag in the protection register, and enters sleep mode. the ds2761 provides a current-limited recovery charge path from pls to v dd to gently charge severely depleted cells during sleep mode. overcurrent, charge direction. the voltage difference between the is1 pin and the is2 pin (v is = v is1 - v is2 ) is the filtered voltage drop across the current-sense resistor. if v is exceeds overcurrent threshold v oc for a period longer than overcurrent delay t ocd , the ds2761 shuts off both external fets and sets the coc flag in the protection register. the charge current path is not re-established until the voltage on the pls pin drops below v dd - v tp . the ds2761 provides a test current of value i tst from pls to v ss to pull pls down in order to detect the removal of the offending charge current source. overcurrent, discharge direction. if v is is less than -v oc for a period longer than t ocd , the ds2761 shuts off the external discharge fet and sets the doc flag in the protection register. the discharge current path is not re-established until the voltage on pls rises above v dd - v tp . the ds2761 provides a test current of value i tst from v dd to pls to pull pls up in order to detect the removal of the offending low-impedance load. short circuit. if the voltage on the sns pin with respect to v ss exceeds short-circuit threshold v sc for a period longer than short-circuit delay t scd , the ds2761 shuts off the external discharge fet and sets the doc flag in the protection register. the discharge current path is not re-established until the voltage on pls rises above v dd - v tp . the ds2761 provides a test current of value i tst from v dd to pls to pull pls up in order to detect the removal of the short circuit. figure 3. li+ protection circuitry example waveforms (1) to allow the device to react quickly to short circuits , detection occurs on the sns pin rather than on the filtered is1 and is2 pins. the actual short-circuit detect condition is v sns > v sc . sleep mode v ov v ce v uv v cell v is charge discharge cc dc -v sc v oc -v oc 0 t sc d t oc d t ocd t u vd t ovd v pls v dd active v ss v ss inactive t ovd (1)
ds2761 8 of 24 summary. all of the protection conditi ons described above are or'ed together to affect the cc and dc outputs. dc = (undervoltage) or (overcurrent, eith er direction) or (short circuit) or (protection register bit de = 0) or (sleep mode) cc = (overvoltage) or (undervoltage) or (overcurre nt, charge direction) or (protection register bit ce = 0) or (sleep mode) current measurement in the active mode of operation, the ds2761 continually measures the current flow into and out of the battery by measuring the voltage drop across a curr ent-sense resistor. the ds2761 is available in two configurations: 1) internal 25m  current-sense resistor, and 2) extern al user-selectable sense resistor. in either configuration, the ds2761 considers the vo ltage difference between pins is1 and is2 (v is = v is1 - v is2 ) to be the filtered voltage drop across the sense resistor. a positive v is value indicates current is flowing into the battery (charging), while a negative v is value indicates current is flowing out of the battery (discharging). v is is measured with a signed resolution of 12-bits. the current register is updated in two?s-complement format every 88ms (128/fsample) w ith an average of 128 readings. currents outside the range of the register are reported at the limit of the range. the format of the current register is shown in figure 4. for the internal sense resistor configuration, the ds 2761 maintains the current register in units of amps, with a resolution of 0.625ma and full-scale range of no less than  1.9a (see note 7 on i fs spec for more details). the ds2761 automatically compensates for in ternal sense resistor process variations and temperature effects when reporting current. for the external sense resistor confi guration, the ds2761 writes the measured v is voltage to the current register, with a resolution of 15.625  v and a full-scale range of  64mv. figure 4. current register format msb?address 0e lsb?address 0f s2 11 2 10 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 2 1 2 0 xxx msb lsb msb lsb units: 0.625ma for internal sense resisto r 15.625  v for external sense resisto r current accumulator the current accumulator facilitates remaining capacity estimation by tracking the net current flow into and out of the battery. current flow into the batte ry increments the current accumulator while current flow out of the battery decrements it. data is maintained in the current accumulator in two?s-complement format. the format of the current accumulator is shown in figure 5.
ds2761 9 of 24 when the internal sense resistor is used, the ds2761 maintains the current accumulator in units of amp- hours, with a resolution of 0.25mahrs and full-scale range of  8.2ahrs. when using an external sense resistor, the ds2761 maintains the current accumula tor in units of volt-hours, with a resolution of 6.25  vhrs and a full scale range of  205mvhrs. the current accumulator is a read/write register th at can be altered by the host system as needed. figure 5. current accumulator format msb?address 10 lsb?address 11 s2 14 2 13 2 12 2 11 2 10 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 2 1 2 0 msb lsb msb lsb units: 0.25mahrs for internal sense resisto r 6.25  vhrs for external sense resisto r current offset compensation current measurement and current accumulation are both internally compensated for offset on a continual basis minimizing error resulting from variations in device temperature and voltage. additionally, a constant bias can be utilized to alter any other sources of offset. this bias resides in eeprom address 33h in two?s-complement format and is subtracted from each current measur ement. the current offset bias is applied to both the internal and external sens e resistor configurations. the factory default for the current offset bias is a value of 0. figure 6. current offset bias address 33 s2 6 2 5 2 4 2 3 2 2 2 1 2 0 msb lsb units: 0.625ma for internal sense resisto r 15.625  v for external sense resisto r voltage measurement the ds2761 continually measures the voltage between pins v in and v ss over a range of 0 to 4.75v. the voltage register is updated in two?s-complement format every 3.4ms with a resolution of 4.88mv. voltages above the maximum register value are repo rted as the maximum value. the voltage register format is shown in figure 7.
ds2761 10 of 24 figure 7. voltage register format msb?address 0c lsb?address 0d s2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 2 1 2 0 xxxxx msb lsb msb lsb units: 4.88mv temperature measurement the ds2761 uses an integrated temperature sensor to continually measure battery temperature. temperature measurements are pla ced in the temperature register every 220ms in two?s-complement format with a resolution of 0.125c over a range of  127c. the temperature register format is shown in figure 8. figure 8. temperature register format msb?address 18 lsb?address 19 s2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 2 1 2 0 xxxxx msb lsb msb lsb units: 0.125  c programmable i/o to use the pio pin as an output, write the desired output value to the pio bit in the special feature register. writing a 0 to the pio bit enables the pio output driver, pulling the pio pin to v ss . writing a 1 to the pio bit disables the output driver, allowing th e pio pin to be pulled high or used as an input. to sense the value on the pio pin, read the pio bit. th e ds2761 turns off the pio output driver and sets the pio bit high when in sleep mode or when dq is low for more than 2s, regardless of the state of the pmod bit. power switch input the ds2761 provides a power control function that us es the discharge protection fet to gate battery power to the system. the ps pin, internally pulled to v dd through a 1  a current source, is continuously monitored for a low-impedance connection to v ss . if the ds2761 is in sleep mode, the detection of a low on the ps pin causes the device to transition into active mode, turning on the discharge fet. if the ds2761 is already in active mode, activity on ps has no effect other than the latching of its logic low level in the ps bit in the special feature register. the reading of a 0 in the ps bit should be immediately followed by writing a 1 to the ps bit to ensure that a subsequent low forced on the ps pin is latched into the ps bit.
ds2761 11 of 24 memory the ds2761 has a 256-byte linear address space with re gisters for instrumentation, status, and control in the lower 32 bytes, with lockable eeprom and sram memory occupying portions of the remaining address space. all eeprom and sram memory is general purpos e except addresses 30h, 31h, and 33h, which should be written with the defa ult values for the protection regist er, status register, and current offset register, respectively. when the msb of any two-byte register is read, both the msb and lsb are latched and held for the duration of the read data command to prevent updates during the read and ensure synchronization between the two register bytes. for c onsistent results, always read the msb and the lsb of a two-byte register during th e same read data command sequence. eeprom memory is shadowed by ram to eliminate programming delays between writes and to allow the data to be verified by the host system before being copied to eeprom. all reads and writes to/from eeprom memory actually access the shadow ra m. in unlocked eeprom blocks, the write data command updates shadow ram. in locked eeprom bl ocks, the write data command is ignored. the copy data command copies the contents of shadow ram to eeprom in an unlocked block of eeprom but has no effect on locked blocks. the recall data command copies the contents of a block of eeprom to shadow ram regardless of whether the block is locked or not. table 3. memory map address (hex) description read/write 00 protection register r/w 01 status register r 02?06 reserved 07 eeprom register r/w 08 special feature register r/w 09?0b reserved 0c voltage register msb r 0d voltage register lsb r 0e current register msb r 0f current register lsb r 10 accumulated current register msb r/w 11 accumulated current register lsb r/w 12?17 reserved 18 temperature register msb r 19 temperature register lsb r 1a?1f reserved 20?2f eeprom, block 0 r/w* 30?3f eeprom, block 1 r/w* 40?7f reserved 80?8f sram r/w 90?ff reserved * each eeprom block is read/write until locked by the lock command, after which it is read-only.
ds2761 12 of 24 protection register the protection register consists of flags that indi cate protection circuit stat us and switches that give conditional control over the charging and dischargin g paths. bits ov, uv, coc, and doc are set when corresponding protection conditions o ccur and remain set until cleared by the host system. the default values of the ce and de bits of the protection register are stored in lockable eeprom in the corresponding bits in address 30h. a recall data command for eeprom bl ock 1 recalls the default values into ce and de. the format of the protection register is shown in figure 9. the function of each bit is described in detail in the following paragraphs. figure 9. protection register format address 00 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 ov uv coc doc cc dc ce de ov? overvoltage flag. when set to 1, this bit indicates the battery pack has experienced an overvoltage condition. this bit must be reset by the host system. uv ?undervoltage flag. when set to 1, this bit indicates the battery pack has experienced an undervoltage condition. this bit must be reset by the host system. coc ?charge overcurrent flag. when set to 1, this b it indicates the battery pack has experienced a charge-direction overcurrent condition. this bit must be reset by the host system. doc ?discharge overcurrent flag. when set to 1, this bit indicates the battery pack has experienced a discharge-direction overcurrent condition. this bit must be reset by the host system. cc ? cc pin mirror. this read-only bit mirrors the state of the cc output pin. dc ? dc pin mirror. this read-only bit mirrors the state of the dc output pin. ce ?charge enable. writing a 0 to this bit disables charging ( cc output high, external charge fet off) regardless of cell or pack conditions. writing a 1 to this bit enables charging, subject to override by the presence of any protection conditions. the ds2761 auto matically sets this bit to 1 when it transitions from sleep mode to active mode. de ?discharge enable. writing a 0 to this bit disables discharging ( dc output high, external discharge fet off) regardless of cell or pack conditions. writing a 1 to this bit enables discharging, subject to override by the presence of any protection conditions. the ds2761 automatically sets this bit to 1 when it transitions from sleep mode to active mode. status register the default values for the status register bits are stored in lockable eeprom in the corresponding bits of address 31h. a recall data command for eeprom block 1 recalls the default values into the status register bits. the format of the status register is s hown in figure 10. the functi on of each bit is described in detail in the following paragraphs.
ds2761 13 of 24 figure 10. status register format address 01 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 x x pmod rnaop swen x x x pmod? sleep mode enable. a value of 1 in this bit enables the ds2761 to enter sleep mode when the dq line goes low for greater than 2s and to leave sleep mode when the dq line goes high. a value of 0 disables dq-related transitions into and out of sleep mode. this bit is read-only. the desired default value should be set in bit 5 of addre ss 31h. the factory default is 0. rnaop ?read net address opcode. a value of 0 in this bit sets the opcode for the read net address command to 33h, while a 1 sets the opcode to 39h. this bit is read-only. the desired default value should be set in bit 4 of address 31h. the factory default is 0. swen? swap command enable. a value of 1 in this bit location enables the recognition of a swap command. if set to 0, swap commands are ignored. th e desired default value should be set in bit 3 of address 31h. this bit is read-only. the factory default is 0. x ?reserved bits. eeprom register the format of the eeprom register is shown in figure 11. the function of each b it is described in detail in the following paragraphs. figure 11. eeprom register format address 07 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 eec lock x x x x bl1 bl0 eec ?eeprom copy flag. a 1 in this read-only bit indi cates that a copy data command is in progress. while this bit is high, writes to eeprom addresses are ignored. a 0 in this bit indicates that data may be written to unlocked eeprom blocks. lock ?eeprom lock enable. when this bit is 0, the lock command is ignored. writing a 1 to this bit enables the lock command. after the lock command is ex ecuted, the lock bit is reset to 0. the factory default is 0. bl1? eeprom block 1 lock flag. a 1 in this read-onl y bit indicates that eeprom block 1 (addresses 30 to 3f) is locked (read-only) while a 0 indicates block 1 is unlocked (read/write). bl0? eeprom block 0 lock flag. a 1 in this read-onl y bit indicates that eeprom block 0 (addresses 20 to 2f) is locked (read-only) while a 0 indicates block 0 is unlocked (read/write). x ?reserved bits.
ds2761 14 of 24 special feature register the format of the special feature register is shown in figure 12. the function of each bit is described in detail in the following paragraphs. figure 12. special feature register format address 08 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 ps pio mstr x x x x x ps ? ps pin latch. this bit latches a low state on the ps pin, and is cleared only by writing a 1 to this location. writing this bit to a 1 immediately upon reading of a 0 value is recommended. pio? pio pin sense and control. see the programmable i/o section for details on this read/write bit. mstr ?swap master status bit. this bit indicates wh ether a device has been selected through the swap command. selection of this device through the swap command and the appropriate net address results in setting this bit, indicating that this device is the master. a 0 signifies that this device is not the master. x ?reserved bits. 1-wire bus system the 1-wire bus is a system that has a single bus master and one or more slaves. a multidrop bus is a 1- wire bus with multiple slaves. a single-drop bus has only one slave device. in all instances, the ds2761 is a slave device. the bus master is typically a mi croprocessor in the host system. the discussion of this bus system consists of four topics : 64-bit net address, hardware config uration, transaction sequence, and 1-wire signaling. 64-bit net address each ds2761 has a unique, factory-programmed 1-wire ne t address that is 64 bits in length. the first eight bits are the 1-wire family code (30h for ds2761) . the next 48 bits are a unique serial number. the last eight bits are a cyclic redundancy check (crc) of the first 56 bits (see figure 13). the 64-bit net address and the 1-wire i/o circuitry built into the device enable the ds2761 to communicate through the 1-wire protocol detailed in the 1-wire bus system section of this data sheet. figure 13. 1-wire net address format 8-bit crc 48-bit serial number 8-bit family code (30h) msb lsb crc generation the ds2761 has an 8-bit crc stored in the most signif icant byte of its 1-wire net address. to ensure error-free transmission of the address, the host system can compute a crc value from the first 56 bits of the address and compare it to the crc from the ds2761. the host system is responsible for verifying the crc value and taking action as a result. the ds2761 does not compare crc values and does not prevent
ds2761 15 of 24 a command sequence from proceeding as a result of a crc mismatch. proper use of the crc can result in a communication channel with a very high level of integrity. the crc can be generated by the host using a circuit consisting of a shift register and xor gates as shown in figure 10, or it can be generated in software. additional information about the dallas 1-wire crc is available in application note 27, understanding and using cyclic redundancy checks with dallas semiconductor t ouch memory products . (this application not can be found on the maxim/dallas semiconductor website at www.maxim-ic.com). in the circuit in figure 14, the shift register bits are initialized to 0. then, starting with the least significant bit of the family code, one bit at a time is shifted in. after the 8th bit of the family code has been entered, then the serial number is entered. aft er the 48th bit of the serial number has been entered, the shift register contains the crc value. figure 14. 1-wire crc generation block diagram hardware configuration because the 1-wire bus has only a single line, it is important that each device on the bus be able to drive it at the appropriate time. to facilitate this, each devi ce attached to the 1-wire bus must connect to the bus with open-drain or tri-state output drivers. th e ds2761 used an open-drain output driver as part of the bidirectional interface circuitry shown in figure 15. if a bidirectional pin is not available on the bus master, separate output and input pins can be connected together. the 1-wire bus must have a pullup resistor at the bus-master end of the bus. for short line lengths, the value of this resistor should be approximately 5k  . the idle state for the 1-wire bus is high. if, for any reason, a bus transaction must be suspended, the bus mu st be left in the idle state in order to properly resume the transaction later. if the bus is left low for more than 120  s, slave devices on the bus begin to interpret the low period as a reset pulse, effectively terminating the transaction. figure 15. 1-wire bus interface circuitry 1  a (typ) 100  mosfet tx rx rx tx rx = receive tx = transmit vpullup (2.0v to 5.5v) 4.7k  bus master ds2761 1-wire port msb xor xor lsb xor input
ds2761 16 of 24 transaction sequence the protocol for accessing the ds2761 thro ugh the 1-wire port is as follows:  initialization  net address command  function command  transaction/data the sections that follow describe each of these steps in detail. all transactions of the 1-wire bus begin with an initialization sequence consisting of a reset pulse transmitted by the bus master followed by a presence pulse simultaneously transmitted by the ds2761 and any other slaves on the bus. the presence pulse tells the bus master that one or more devices are on the bus and ready to operate. for more details, see the 1-wire signaling section. net address commands once the bus master has detected the presence of one or more slaves, it can issue one of the net address commands described in the following paragraphs. th e name of each rom command is followed by the 8-bit opcode for that command in squa re brackets. figure 16 presents a transaction flowchart of the net address commands. read net address [33h or 39h]. this command allows the bus master to read the ds2761?s 1-wire net address. this command can only be used if there is a single slave on the bus. if more than one slave is present, a data collision occurs when all slaves try to transmit at the same time (open drain produces a wired-and result). the rnaop bit in the status register selects the opcode for this command, with rnaop = 0 indicating 33h, and rnaop = 1 indicating 39h. match net address [55h]. this command allows the bus master to specifically address one ds2761 on the 1-wire bus. only the addressed ds2761 responds to any subsequent func tion command. all other slave devices ignore the function command and wait fo r a reset pulse. this command can be used with one or more slave devices on the bus. skip net address [cch]. this command saves time when there is only one ds2761 on the bus by allowing the bus master to issue a function command w ithout specifying the address of the slave. if more than one slave device is present on the bus, a subsequent function command can cause a data collision when all slaves transmit data at the same time. search net address [f0h]. this command allows the bus master to use a process of elimination to identify the 1-wire net addresses of all slave devices on the bus. the search process involves the repetition of a simple three-step routine: read a bit, r ead the complement of the bit, then write the desired value of that bit. the bus master performs this simple three-step routine on each bit location of the net address. after one complete pass through all 64 bits, the bus master knows the address of one device. the remaining devices can then be identified on additional iterations of the process. see chapter 5 of the book of ds19xx ibutton ? standards for a comprehensive discussion of a net address search, including an actual example. (this publication can be found on the maxim/dallas semi conductor website at www.maxim- ic.com).
ds2761 17 of 24 swap [aah]. swap is a rom level command specifically intended to aid in distributed multiplexing applications and is described specifi cally with regards to power contro l using the 27xx series of products. the term power control refers to the ability of the ds2761 to control the flow of power into or out the battery pack using control pins dc and cc . the swap command is issued followed by the net address. the effect is to cause the addressed device to enable power to or from the system while simultaneously (break-before-make) deselecting and powering down (s leep) all other packs. this switching sequence is controlled by a timing pulse issued on the dq line following the net address. the falling edge of the pulse is used to disable power with the rising edge en abling power flow by the selected device. the ds2761 recognizes a swap command, device address, a nd timing pulse only if the swen bit is set. function commands after successfully completing one of the net address commands, the bus master can access the features of the ds2761 with any of the function commands describe d in the following paragraphs and summarized in table 4. the name of each function is followed by the 8-bit opcode for that command in square brackets. read data [69h, xx]. this command reads data from the ds2761 starting at memory address xx. the lsb of the data in address xx is available to be re ad immediately after the msb of the address has been entered. because the address is automatically incremented after the msb of each byte is received, the lsb of the data at address xx + 1 is available to be read immediately after the msb of the data at address xx. if the bus master continues to read beyond address ffh, the ds2761 outputs logic 1 until a reset pulse occurs. addresses labeled ?reserved? in the me mory map contain undefined data. the read data command can be terminated by the bus mast er with a reset pulse at any bit boundary. write data [6ch, xx]. this command writes data to the ds2761 starting at memory address xx. the lsb of the data to be stored at address xx can be written immediately after the msb of address has been entered. because the address is automatically incremented after the msb of each byte is written, the lsb to be stored at address xx + 1 can be written immediately after the msb to be stored at address xx. if the bus master continues to write beyond address ffh, the ds2761 ignores the data. writes to read-only addresses, reserved addresses and locked eeprom blocks are ignored. incomplete bytes are not written. writes to unlocked eeprom blocks are to sh adow ram rather than eeprom. see the memory section for more details. copy data [48h, xx]. this command copies the contents of shadow ram to eeprom for the 16-byte eeprom block containing address xx. copy data co mmands that address locked blocks are ignored. while the copy data command is executing, the eec bit in the eeprom register is set to 1 and writes to eeprom addresses are ignored. reads and writes to non-eeprom addresses can still occur while the copy is in progress. the copy data command execution time, t eec , is 2ms typical and starts after the last address bit is transmitted. recall data [b8h, xx]. this command recalls the contents of the 16-byte eeprom block containing address xx to shadow ram. lock [6ah, xx]. this command locks (write-protects) the 16-byte block of eeprom memory containing memory address xx. the lock bit in the eeprom register must be set to l before the lock command is executed. if the lock bit is 0, the lock command has no effect. the lock command is permanent; a locked block can never be written again.
ds2761 18 of 24 table 4. function commands command description command protocol bus state after command protocol bus data read data reads data from memory starting at address xx 69h, xx master rx up to 256 bytes of data write data writes data to memory starting at address xx 6ch, xx master tx up to 256 bytes of data copy data copies shadow ram data to eeprom block containing address xx 48h, xx bus idle none recall data recalls eeprom block containing address xx to shadow ram b8h, xx bus idle none lock permanently locks the block of eeprom containing address xx 6ah, xx bus idle none
ds2761 19 of 24 figure 16. net address command flow chart master tx reset pulse ds2761 tx presence pulse master tx net address command 55h match 33h / 39h read f0h search cch skip ds2761 tx family code 1 byte ds2761 tx serial number 6 bytes ds2761 tx crc 1 byte master tx bit 0 bit 0 match ? master tx bit 1 ds2761 tx bit 0 ds2761 tx bit 0 master tx bit 0 bit 0 match ? ds2761 tx bit 1 ds2761 tx bit 1 master tx bit 1 bit 1 match ? bit 1 match ? master tx function command master tx bit 63 ds2761 tx bit 63 ds2761 tx bit 63 master tx bit 63 bit 63 match ? master tx function command yes no no no no yes yes yes no no no no yes yes yes yes no yes aah swap no yes master tx bit 0 bit 0 match ? master tx bit 1 bit 1 match ? master tx bit 63 bit 63 match ? no yes yes no yes no ds2761 to sleep mode falling edge of dq ds2761 to active mode rising edge of dq
ds2761 20 of 24 i/o signaling the 1-wire bus requires strict signaling protocols to in sure data integrity. the f our protocols used by the ds2761 are as follows: the initialization sequence (reset pulse followed by presence pulse), write 0, write 1, and read data. all of these types of signaling except the presence pulse are initiated by the bus master. the initialization sequence required to begin any co mmunication with the ds2761 is shown in figure 17. a presence pulse following a reset pulse indicates that the ds2761 is ready to accept a net address command. the bus master transmits (tx) a reset pulse for t rstl . the bus master then releases the line and goes into receive mode (rx). the 1-wire bus line is then pulled high by the pullup resistor. after detecting the rising edge on th e dq pin, the ds2761 waits for t pdh and then transmits the presence pulse for t pdl . figure 17. 1-wire initialization sequence write-time slots a write-time slot is initiated when the bus master pulls the 1-wire bus from a logic-high (inactive) level to a logic-low level. there are two types of write-time slots: write 1 and write 0. all write-time slots must be t slot (60  s to 120  s) in duration with a 1  s minimum recovery time, t rec , between cycles. the ds2761 samples the 1-wire bus line between 15  s and 60  s after the line falls. if the line is high when sampled, a write 1 occurs. if the line is low when sampled, a write 0 occurs (see figure 18). for the bus master to generate a write 1 time slot, the bus line must be pulled low and then released, allowing the line to be pulled high within 15  s after the start of the write time slot. for the host to generate a write 0 time slot, the bus line must be pulled low and held low for the duration of the write-time slot. read-time slots a read-time slot is initiated when the bus master pulls the 1-wire bus line from a logic-high level to a logic-low level. the bus master must keep the bus line low for at least 1  s and then release it to allow the ds2761 to present valid data. the bus ma ster can then sample the data t rdv (15  s) from the start of the read-time slot. by the end of the read-time slot, the ds2761 releases the bus line and allows it to be pulled high by the external pullup resi stor. all read-time slots must be t slot (60  s to 120  s) in duration with a 1  s minimum recovery time, t rec , between cycles. see figure 18 for more information. t r s tl t pdl t r s th t pdh pack+ pack- line type legend: bus master active low ds2761 active low resistor pullup both bus master and ds2761 active low dq
ds2761 21 of 24 figure 18. 1-wire write- and read-time slots figure 19. swap command timing pack+ pack- t s l o t dq t l o w1 t s l o t write 0 slot write 1 slot t l o w 0 t re c >1  s ds2761 sample window min typ max 15  s 15  s 30  s ds2761 sample window min typ max 15  s 15  s 30  s line type legend: bus master active low ds2761 active low resistor pullup both bus master and ds2761 active low t s l o t read 0 slot read 1 slot t s l o t t re c >1  s t rdv master sample window master sample window t rdv pack+ pack? dq t swoff t swon t swl cc , dc cc , dc dq
ds2761 22 of 24 absolute maximum ratings* voltage on pls and cc pin, relative to v ss -0.3v to +18v voltage on pio pin, relative to v ss -0.3v to +12v voltage on vin and ps , relative to v ss -0.3v to v dd + 0.3 voltage on any other pin, relative to v ss -0.3v to +6v continuous internal sense resistor current  2.5a pulsed internal sense resistor current  50a for <100s/sec, <1000 pulses operating temperature range -40c to +85c storage temperature range -55c to +125c soldering temperature see ipc/jedecj-std-020a * this is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operation sections of this specification is not implied. exposure to absolute maximum rating conditions for extended periods of time may affect reliability. recommended dc operating conditions (-20  c to +70  c, 2.5v  v dd  5.5v) parameter symbol conditions min typ max units notes supply voltage v dd 2.5 5.5 v 1 data pin dq -0.3 +5.5 v 1 dc electrical characteristics (-20  c to +70  c, 2.5v  v dd  5.5v) parameter symbol conditions min typ max units notes active current i active dq = v dd , norm. operation 60 90  a sleep mode current i sleep dq = 0v, no activity, ps floating 12  a input logic high: dq, pio v ih 1.5 v 1 input logic high: ps v ih v dd - 0.2v v1 input logic low: dq, pio v il 0.4 v 1 input logic low: ps v il 0.2 v 1 output logic high: cc v oh i oh = -0.1ma v pls - 0.4v v1 output logic high: dc v oh i oh = -0.1ma v dd - 0.4v v1 output logic low: cc , dc v ol i ol = 0.1ma 0.4 v 1 output logic low: dq, pio v ol i ol = 4ma 0.4 v 1 dq pulldown current i pd 1  a input resistance: v in r in 5 m  internal current-sense resistor r sns +25  c 20 25 30 m  dq low to sleep time t sleep 2.1 s
ds2761 23 of 24 electrical characteristics: protection circuitry (0  c to +50  c, 2.5v  v dd  5.5v) parameter symbol min typ max units notes overvoltage detect v ov 4.325 4.250 4.350 4.275 4.375 4.300 v1, 2 charge enable v ce 4.10 4.15 4.20 v 1 undervoltage detect v uv 2.5 2.6 2.7 v 1 overcurrent detect i oc 1.8 1.9 2.0 a 3 overcurrent detect v oc 45 47.5 50 mv 1, 4 short-circuit detect i sc 5.0 8.0 11 a 3 short-circuit detect v sc 150 200 250 mv 1 overvoltage delay t ovd 0.811.2sec undervoltage delay t uvd 90 100 110 ms overcurrent delay t ocd 51020ms short-circuit delay t scd 80 100 120  s test threshold v tp 0.5 1.0 1.5 v test current i tst 10 20 40  a recovery charge current i rc 0.5 1 2 ma 13 electrical characteristics: temperature, voltage, current (-20  c to +50  c, 2.5v  v dd  5.5v) parameter symbol min typ max units notes temperature resolution t lsb 0.125  c temperature full-scale magnitude t fs 127  c temperature error t err  3  c 5 voltage resolution v lsb 4.88 mv voltage full-scale magnitude v fs 4.75 v voltage offset error v oerr 1lsb6 voltage gain error v gerr 5% current resolution i lsb 0.625 15.625 ma  v 3 4 current full-scale magnitude i fs 1.9 2.56 64 a mv 3, 4 7 current offset error i oerr 1lsb8 current gain error i gerr 3 1 %3, 9 4 accumulated current resolution q ca 0.25 6.25 mahr vhr 3 4 current sampling frequency f samp 1456 hz internal timebase accuracy t err  1  3 %10
ds2761 24 of 24 electrical characteristics: 1-wire interface (-20  c to +70  c, 2.5v  v dd  5.5v) parameter symbol min typ max units notes time slot t slot 60 120  s recovery time t rec 1  s write 0 low time t low0 60 120  s write 1 low time t low1 115  s read data valid t rdv 15  s reset time high t rsth 480  s reset time low t rstl 480 960  s presence detect high t pdh 15 60  s presence detect low t pdl 60 240  s swap timing pulse width t swl 0.2 120  s swap timing pulse falling edge to dc release t swoff 01  s 12 swap timing pulse rising edge to dc engage t swon 01  s 12 dq capacitance c dq 60 pf eeprom reliability specification (-20  c to +70  c, 2.5v  v dd  5.5v) parameter symbol min typ max units notes copy to eeprom time t eec 210 ms eeprom copy endurance n eec 25000 cycles 11 notes 1) all voltages are referenced to v ss . 2) see the ordering information section to determine the corr esponding part number for each v ov value. 3) internal current-sense resistor configuration. 4) external current-sense resistor configuration. 5) self-heating due to output pin loading and sense re sistor power dissipation can alter the reading from ambient conditions. 6) voltage offset measurement is with respect to v ov at +25c. 7) the current register supports measurement magnitude s up to 2.56a using the internal sense resistor option and 64mv with the external resistor option. compensation of the intern al sense resistor value for process and temperature variation can redu ce the maximum reportable magnitude to 1.9a. 8) current offset error null to 1lsb typically requires 3.5s in-system calibration by user. 9) current gain error specification applies to gain e rror in converting the voltage difference at is1 and is2, and excludes any error remaining after the ds 2761 compensates for the internal sense resistor?s temperature coefficient of 3700ppm/  c to an accuracy of  500ppm/  c. the ds2761 does not compensate for external sense resistor characteristics, and any error terms arising from the use of an external sense resistor should be taken into account when calculating total current measurement error. 10) typical value for t err is at 3.6v and +25  c. 11) four year data retention at +70  c. 12) typical load capacitance on dc and cc is 1000pf. 13) test conditions are pls = 4.1v, v dd = 2.5v. maximum current for conditions of pls = 15v, v dd = 0v is 10ma.


▲Up To Search▲   

 
Price & Availability of DS2761BX-025

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X